package com.sihan.swvp.dao.wg;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.wg.WgVideo;
/**
 * 违规视频管理Dao
 * @author tuf
 *
 */
public interface WgVideoDao extends BaseDao{
	
	/**	
	 * 根据条件查询违规视频信息
	 * @param params
	 * @return
	 */
	public Page<Map<String, Object>> getWgVideoList(Map<String, Object> params);
	/**
	 * 根据条件查询违规视频
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getWgBj(Map<String, Object> params);
	public Map<String, Object> getWgBjById(WgVideo bean);
	/**
	 * 根据id查询图片
	 * @param id
	 * @return
	 */
	public Map<?, ?> getWgImg(WgVideo bean);
	public void addWgBj(WgVideo bean);
	/**
	 * 根据视频id删除标记
	 * @param videoId
	 * @return
	 */
	public int deleteWgBjBatch(Map<String, Object> params);
	/**
	 * 根据标记id删除标记
	 * @param id
	 * @return
	 */
	public int deleteWgBjById(Map<String, Object> params);
	/**
	 * 根据条件验证
	 */
	public Map<String, Object> getWgVideoValidate(WgVideo bean);
}
